<div class="studentResumes index">
<h2><?php __('StudentResumes');?></h2>
<!-- Table Navigation -->
<div class="tablenav">
    <div class="batchactions"></div>
    <?php echo $this->element('pager'); ?>
</div>
<!-- Table Content Area -->
<table class="table fixed">
    <thead title="<?php __('Click a column to sort data table'); ?>">
        <tr>
            <th  width="3%" class="checkbox" title="<?php __('Click to select/deselect all records'); ?>"><input type="checkbox" class="checkbox"/></th>
            <th><?php echo $paginator->sort('id');?></th>
            <th><?php echo $paginator->sort('student_id');?></th>
            <th><?php echo $paginator->sort('intention');?></th>
            <th><?php echo $paginator->sort('education');?></th>
            <th><?php echo $paginator->sort('awards');?></th>
            <th><?php echo $paginator->sort('ability');?></th>
            <th><?php echo $paginator->sort('created');?></th>
            <th><?php echo $paginator->sort('modified');?></th>
            <th class="actions"><?php __('Actions');?></th>
        </tr>
    </thead>
    <tfoot title="<?php __('Click a column to sort data table'); ?>">
        <tr>
            <th class="checkbox" title="<?php __('Click to select/deselect all records'); ?>"><input type="checkbox" class="checkbox"/></th>
            <th><?php echo $paginator->sort('id');?></th>
            <th><?php echo $paginator->sort('student_id');?></th>
            <th><?php echo $paginator->sort('intention');?></th>
            <th><?php echo $paginator->sort('education');?></th>
            <th><?php echo $paginator->sort('awards');?></th>
            <th><?php echo $paginator->sort('ability');?></th>
            <th><?php echo $paginator->sort('created');?></th>
            <th><?php echo $paginator->sort('modified');?></th>
            <th class="actions"><?php __('Actions');?></th>
        </tr>
    </tfoot>
    <tbody>
        <?php foreach ($studentResumes as $i=>$studentResume):
            $class = $i % 2 == 0 ? ' class="altrow"' : '';?>
        <tr<?php echo $class;?>>
            <td><?php echo $studentResume['StudentResume']['id']; ?></td>
            <td><?php echo $studentResume['StudentResume']['student_id']; ?></td>
            <td><?php echo $studentResume['StudentResume']['intention']; ?></td>
            <td><?php echo $studentResume['StudentResume']['education']; ?></td>
            <td><?php echo $studentResume['StudentResume']['awards']; ?></td>
            <td><?php echo $studentResume['StudentResume']['ability']; ?></td>
            <td><?php echo $studentResume['StudentResume']['created']; ?></td>
            <td><?php echo $studentResume['StudentResume']['modified']; ?></td>
            <td class="actions">
                <?php echo $html->link(__('View', true), array('action' => 'view', $studentResume['StudentResume']['id'])); ?>
                <?php if($user['type'] != 'student'): ?>
                    <?php echo $html->link(__('Edit', true), array('action' => 'edit', $studentResume['StudentResume']['id'])); ?>
                    <?php echo $html->link(__('Delete', true), array('action' => 'delete', $studentResume['StudentResume']['id']), null, sprintf(__('Are you sure you want to delete # %s?', true), $studentResume['StudentResume']['id'])); ?>
                <?php endif; ?>
            </td>
        </tr>
        <?php endforeach; ?>
    <tbody>
</table>
</div>
<div class="actions">
    <ul>
        <li><?php echo $html->link(__('New StudentResume', true), array('action' => 'add')); ?></li>
    </ul>
</div>
